<?php if (!defined('THINK_PATH')) exit();?><header class="am-topbar am-topbar-inverse am-topbar-fixed-top">
  <div class="am-container">
    <h1 class="am-topbar-brand">
      <a href="#" class="am-text-ir">Amaze UI</a>
    </h1>

    <button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only"
            data-am-collapse="{target: '#doc-topbar-collapse-4'}"><span class="am-sr-only">导航切换</span> <span
        class="am-icon-bars"></span></button>

    <div class="am-collapse am-topbar-collapse" id="doc-topbar-collapse-4">
      <ul class="am-nav am-nav-pills am-topbar-nav">
        <li class="am-active"><a href="/index.php">首页</a></li>
        <li><a href="/index.php?c=products">产品展示</a></li>
        <li><a href="/index.php?c=news">新闻页</a></li>
        <li class="am-dropdown" data-am-dropdown>
          <a class="am-dropdown-toggle" data-am-dropdown-toggle href="javascript:;">
            下拉 <span class="am-icon-caret-down"></span>
          </a>
          <ul class="am-dropdown-content">
            <li><a href="#">带我去月球</a></li>
            <li><a href="#">还是回地球</a></li>
            <li class="am-disabled"><a href="#">臣妾做不到</a></li>
          </ul>
        </li>
      </ul>
    </div>
  </div>
 
</header>
        <?php if(is_array($nav)): $i = 0; $__LIST__ = $nav;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$nav): $mod = ($i % 2 );++$i;?><li><?php echo ($nav["name"]); ?></li><?php endforeach; endif; else: echo "" ;endif; ?>